package com.zzt.zt_hilt.Module

import com.zzt.zt_hilt.inter.AnalyticsService
import com.zzt.zt_hilt.service.WheatherApi
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ActivityComponent
import retrofit2.Retrofit
import retrofit2.Retrofit.*

/**
 * @author: zeting
 * @date: 2022/8/31
 *
 */
@Module
@InstallIn(ActivityComponent::class)
class WeatherModule {

    @Provides
    fun provideAnalyticsService(
        // Potential dependencies of this type
    ): WheatherApi {
        return WheatherApi.getApi()
    }
}